package com.csl.seckill.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//登录注册所需要的信息
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDetailVo {

    private  String userName;//用户姓名
    private String password;//密码
    private String identityCard;//身份证号
    private String email;//邮箱
    private String nickName;//昵称
    private String phone;//电话号码
    private Long roleId;//角色id

    @Override
    public String toString() {
        return "UserDetailVo{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", identityCard='" + identityCard + '\'' +
                ", email='" + email + '\'' +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", roleId=" + roleId +
                '}';
    }
}

